﻿package com.tudou.ad
{
    import com.tudou.ad.interfaces.*;
    import flash.display.*;

    public class AdDisplayBase extends Sprite
    {
        protected var mainHeight:Number = 0;
        protected var _adItemInfo:IAdItemInfo;
        protected var mainWidth:Number = 0;
        protected var _adThrowInfo:IAdThrowInfo;
        protected var _isInited:Boolean = false;
        protected var _isSkip:Boolean;
        protected var _isShowing:Boolean;

        public function AdDisplayBase(param1:uint, param2:uint)
        {
            mainWidth = param1;
            mainHeight = param2;
            return;
        }// end function

        public function hideAd() : void
        {
            this.visible = false;
            return;
        }// end function

        public function showAd() : void
        {
            this.visible = true;
            return;
        }// end function

        public function set adItemInfo(param1:IAdItemInfo) : void
        {
            _adItemInfo = param1;
            return;
        }// end function

        public function get isSkip() : Boolean
        {
            return _isSkip;
        }// end function

        public function get adThrowInfo() : IAdThrowInfo
        {
            return _adThrowInfo;
        }// end function

        public function initToShow() : void
        {
            return;
        }// end function

        public function set isSkip(param1:Boolean) : void
        {
            _isSkip = param1;
            return;
        }// end function

        public function clearAd() : void
        {
            return;
        }// end function

        public function set adThrowInfo(param1:IAdThrowInfo) : void
        {
            _adThrowInfo = param1;
            return;
        }// end function

        public function startAd() : void
        {
            return;
        }// end function

        public function goTransform(param1:uint, param2:uint, param3:Boolean) : void
        {
            return;
        }// end function

        public function get adItemInfo() : IAdItemInfo
        {
            return _adItemInfo;
        }// end function

    }
}
